﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="Index"
    MasterPageFile="~/Master.master" %>

<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxMenu" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<asp:Content ID="headContent" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="stylesheet" href="../Content/Site.css" />
    <link type="text/css" rel="stylesheet" href="../Content/CodeFormatter.css" />
    <style type="text/css">
        .pcmCellCaption
        {
            white-space: nowrap;
            padding-top: 5px;
        }
        .pcmCellText
        {
            padding-left: 10px;
            padding-top: 2px;
        }
        .pcmCheckBox
        {
            padding-left: 6px;
            padding-bottom: 10px;
        }
        .pcmCreateAccount
        {
            text-align: right;
            padding-top: 8px;
            padding-bottom: 4px;
        }
        .pcmButton
        {
            padding-top: 10px;
            padding-bottom: 0px;
        }
        .pcmSideSpacer
        {
            width: 60px;
            height: 1px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div style="width: 100%">
        <h1 class="DemoTitle" style="margin-top: 20px; text-align: center;">
            欢迎进入杭州市社区服务业项目管理系统！
        </h1>
        <div id="DemoArea">
            <div class="Spacer">
            </div>
            <table>
                <tr>
                    <td rowspan="3">
                        <img alt="" src="Images/User.png" />
                    </td>
                    <td>
                        <dx:ASPxLabel ID="lab_Time" Font-Names="微软雅黑" Font-Size="14px" runat="server" Text="ASPxLabel">
                        </dx:ASPxLabel>
                    </td>
                </tr>
                <tr>
                    <td>
                        <dx:ASPxLabel ID="lab_User" Font-Bold="true" Font-Names="微软雅黑" Font-Size="16px" runat="server"
                            Text="ASPxLabel">
                        </dx:ASPxLabel>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <dx:ASPxButton ID="SubmitBtn" runat="server" AutoPostBack="false" Font-Size="10pt"
                            Text="密码修改" CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx"
                            SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                            <ClientSideEvents Click="function(s, e) { pcLogin.Show(); }" />
                        </dx:ASPxButton>
                    </td>
                </tr>
            </table>
            <dx:ASPxPopupControl ID="pcLogin" runat="server" CloseAction="CloseButton" Modal="True"
                PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" ClientInstanceName="pcLogin"
                HeaderText="密码修改" AllowDragging="True" EnableAnimation="False" EnableViewState="False"
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                EnableHotTrack="False" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                <ClientSideEvents PopUp="function(s, e) { c_tbPassword.Focus(); }" />
                <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                </LoadingPanelImage>
                <LoadingPanelStyle ImageSpacing="5px">
                </LoadingPanelStyle>
                <ContentCollection>
                    <dx:PopupControlContentControl runat="server">
                        <dx:ASPxPanel ID="Panel1" runat="server" DefaultButton="btOK">
                            <PanelCollection>
                                <dx:PanelContent runat="server">
                                    <table cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td rowspan="5">
                                                <div class="pcmSideSpacer">
                                                </div>
                                            </td>
                                            <td class="pcmCellCaption" valign="top">
                                                <dx:ASPxLabel ID="lblPassword" runat="server" Text="旧密码:" AssociatedControlID="tbPassword">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="pcmCellText">
                                                <dx:ASPxTextBox ID="tbPassword" runat="server" Width="150px" Password="True" ClientInstanceName="c_tbPassword"
                                                    CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                                </dx:ASPxTextBox>
                                            </td>
                                            <td rowspan="5">
                                                <div class="pcmSideSpacer">
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="pcmCellCaption" valign="top">
                                                <dx:ASPxLabel ID="lblPass1" runat="server" Text="新密码:" AssociatedControlID="tbPassword1">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="pcmCellText">
                                                <dx:ASPxTextBox ID="tbPassword1" runat="server" Width="150px" Password="True" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="pcmCellCaption" valign="top">
                                                <dx:ASPxLabel ID="lblPass2" runat="server" Text="确认密码:" AssociatedControlID="tbPassword2">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="pcmCellText">
                                                <dx:ASPxTextBox ID="tbPassword2" runat="server" Width="150px" Password="True" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <div class="pcmButton">
                                                    <table width="100%" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td align="right">
                                                                <dx:ASPxButton ID="btOK" runat="server" Text="确定" Width="80px" AutoPostBack="False"
                                                                    CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css"
                                                                    OnClick="btOK_Click">
                                                                    <ClientSideEvents Init="function(s, e) {if(c_tbPassword.GetText()!='') pcLogin.Hide(); }" />
                                                                </dx:ASPxButton>
                                                            </td>
                                                            <td>
                                                                <div style="width: 8px;">
                                                                </div>
                                                            </td>
                                                            <td align="left">
                                                                <dx:ASPxButton ID="btCancel" runat="server" Text="取消" Width="80px" AutoPostBack="False"
                                                                    CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                                                    <ClientSideEvents Click="function(s, e) { pcLogin.Hide(); }" />
                                                                </dx:ASPxButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </dx:PanelContent>
                            </PanelCollection>
                        </dx:ASPxPanel>
                    </dx:PopupControlContentControl>
                </ContentCollection>
            </dx:ASPxPopupControl>
        </div>
    </div>
</asp:Content>
